#include <stdio.h>
#include <stdlib.h>

void fn()
{
    int x = 100;
}

int main(int argc, char const *argv[])
{
    printf("x=%d\n", x); //错误，未定义x
    return 0;
}
